from abc import ABC
from faker import Faker
from app.core import setting


class BasicFaker(ABC, Faker):
    def __init__(self):
        self.locale = setting.mock_locale
        super().__init__(self.locale)

    @classmethod
    def instance(cls):
        return cls()
